Propagating Class and Method Combination
نویسنده
چکیده
This paper presents a mixin based class and method combination mechanism with block structure propagation. Traditionally, mixins can be composed to form new classes, possibly merging the implementations of methods (as in CLOS). In our approach, a class or method combination operation may cause any number of implicit combinations. For example, it is possible to specify separate aspects of a family of classes, and then combine several aspects into a full-fledged class family. The combination expressions would explicitly combine whole-family aspects, and by propagation implicitly combine the aspects for each member of the class family, and again by propagation implicitly compose each method from its aspects. As opposed to CLOS, this is type-checked statically; and as opposed to other systems for advanced class combination/merging/weaving, it is integrated directly in the language, ensuring a clear semantics and a seamless interaction with the type system. Moreover, the basic mechanism used in the combination, linearization, is formalized and generalized compared to previous presentions.
منابع مشابه
EFFECT OF FABRICATION PARAMETERS ON SYNTHESIS OF Ti2AlC AND Ti3AlC2MAX PHASES BY MASHS
Mechanically Activated Self-propagating High temperature Synthesis (MASHS) is the method which is used to promote self-propagating synthesis by increasing activity of reactants and increase the purity of products. In this study Ti 2 AlC and Ti3AlC2 max phases were synthesized by using mechanically activated self-propagating high temperature synthesis (MASHS) and samples reactivity and phase str...
متن کاملTHE EFFECT OF PURE SHEAR ON THE REFLECTION OF PLANE WAVES AT THE BOUNDARY OF AN ELASTIC HALF-SPACE
This paper is concerned with the effect of pure shear on the reflection from a plane boundary of infinitesimal plane waves propagating in a half-space of incompressible isotropic elastic material. For a special class of constitutive laws it is shown that an incident plane harmonic wave propagating in the considered plane gives rise to a surface wave in addition to a reflected wave (with angle o...
متن کاملNon -propagating Waves and Behavior of Curtainwall-pile Breakwaters
Abstract Usually, evanescent modes or non-propagating waves are produced when a propagating incident wave impinges on an interface between two media or materials such as curtainwall-pile breakwater (CPB) at a subcritical angle and decay with distance from interface. To achieve an effective prediction of hydrodynamic performance of CPB and overcome the problem of underestimation of energy loss, ...
متن کاملSynthesis of ZrO2 nanoparticle by combination of sol-gel auto-combustion method- irradiation technique, and preparation of Al-ZrO2 metal matrix composites
Nanocrystalline ZrO2 with particle size of about 38 nm was directly synthesized by sol-gel auto-combustion method. The overall process involved three steps: formation of homogeneous sol at 50-55°C; formation of dried gel at 110°C, and combustion of the dried gel at 400°C. Experiments revealed that ZrO2 dried gel derived from glycine (Fuel) and nitrate sol exhibited self pr...
متن کاملDetermining Range Suitability Using Fuzzy and Hierarchical Method (Case Study: Bagheran Birjand Watershed, South Khorasan Province, Iran)
Evaluating rangelands means to identify and create potential and actual rangelands in order to utilize this valuable natural resource properly. Hence, one of the important factors in rangeland management is to determine range suitability and recognize factors affecting it. Weighted Linear Combination Method (WLC) is one of the most common methods used for locating and Analytic Hierarchy Process...
متن کامل